package Controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

public class democontroller {
    @RestController
    public class DemoController {
        @RequestMapping("/")
        public String index() {
            return "Greetings from Spring Boot!";
        }
        public String dex() {
            return "Greetings from Spring Boot!";
        }
    }
}
